package com.ydw.datahub.dao;

import org.springframework.boot.autoconfigure.jdbc.DataSourceProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by admin on 2018/9/10.
 */
public interface MysqlDao {

    /**
     * 根据数据源和sql返回指定的结果
     * @param DataSourceProperties
     * @param sql
     * @return
     */
    public void query(DataSourceProperties DataSourceProperties,String sql,HashMap<String,String> result);
}
